﻿using System;

using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace DoodJetView.VuesPartielles.Employes
{
    /// <summary>
    /// Logique d'interaction pour EtapesEmployes.xaml
    /// </summary>
    public partial class EtapesEmployes : UserControl
    {
        private MainWindow mainWindow;

        public EmployerForm_employe Etape1 { get; set; }
        public EmployerForm_contrat Etape2 { get; set; }
        public EmployerForm_BrevetPermis Etape3 { get; set; }
        public EtapesEmployes()
        {
            InitializeComponent();
            Etape1 = new EmployerForm_employe(this);
            Etape2 = new EmployerForm_contrat(this);
            Etape3 = new EmployerForm_BrevetPermis(this);
        }

        public EtapesEmployes(MainWindow mainWindow)
        {
            InitializeComponent();
            Etape1 = new EmployerForm_employe(this);
            Etape2 = new EmployerForm_contrat(this);
            Etape3 = new EmployerForm_BrevetPermis(this);
            this.ContentUsers.Children.Clear();
            this.ContentUsers.Children.Add(Etape1);
            // TODO: Complete member initialization
            this.mainWindow = mainWindow;
        }
    }
}
